package com.road.yishi.quest;

import java.util.List;

import com.road.entity.QuestCondiction;
import com.road.yishi.dao.DaoFactory;
import com.road.yishi.dao.impl.QuestCondictionDaoImpl;

/**
 * @Description :统一任务管理
 * @FileName: QuestMgr.java
 * @Author :WeiHui.Zhang
 * @Data : 2016年3月10日 上午10:49:34
 * @Version:V1.00
*/
public class QuestMgr {

	
	public static boolean init(){
		
		QuestCondictionDaoImpl condictionDaoImpl = DaoFactory.getDaoImpl(QuestCondictionDaoImpl.class);
		
		List<QuestCondiction> condictions = condictionDaoImpl.getQuestCondictions();
		
		for (QuestCondiction questCondiction : condictions) {
			System.out.println(questCondiction);
		}
		
		return true;
	}
	
	public static void main(String[] args) {
		QuestMgr.init();
	}
}
